//using Microsoft.VisualBasic;
using System;
using System.Diagnostics;
using log4net;
using NHibernate;
using NHibernate.Cfg;
using System.Collections;
namespace NCS
{
	public partial class Form1
	{

		private void Form1_Load(object sender, System.EventArgs e)
		{
			Configuration configuration = Class1.configuration;
			ISessionFactory factory = configuration.BuildSessionFactory();
			ISession session = factory.OpenSession();
			IList o = null;
			o = session.CreateCriteria(typeof(muser)).List();
			this.DataGridView1.DataSource = o;
		}


		public Form1()
		{
			Load += Form1_Load;
			// This call is required by the Windows Form Designer.
			InitializeComponent();

			// Add any initialization after the InitializeComponent() call.

		}
	}
}
